/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-06-29     Rbb666       first version
 */

#include <rtthread.h>
#include <rtdevice.h>

#include "drv_gpio.h"
#include "key.h"
#include "ssd1306.h"

#define LED_PIN     GET_PIN(0, 1)

rt_err_t app_lightness(void);
rt_err_t app_oled(void);
extern uint8_t key_flag;
int main(void)
{
    app_lightness();
    app_oled();
//    ssd1306_Init();
//    ssd1306_Fill(Black);
//    ssd1306_SetCursor(0,0);
//    ssd1306_WriteString("HELLO", Font_7x10, White);
//    ssd1306_UpdateScreen();
}
